

package interfaces
{
	import flash.geom.Point;
	import flash.events.MouseEvent;
	
	public interface INpcBase extends ISceneObject
	{
		function changeToDir(dir:int):void;
		function get curDir():int;
		
		//desPos pixel_pos
		function gotoPos(desPos:Point):void;
		
		function goto(gridPos:Point):void;
		
		function get die():Boolean;
		function set die(v:Boolean):void;
		
		function onGridPosChange():void;
		function onPixelPosChange():void;
		
		function initNpc():void;
		
		function get tmpID():uint;
		function set tmpID(v:uint):void;
		
		function get scene():IScene;
		function set scene(v:IScene):void;
		
		function npcMouseOver(e:MouseEvent):void;
		
		function npcMouseOut(e:MouseEvent):void;
		
		function npcMouseMove(e:MouseEvent):void;
		
		function npcMouseDown(e:MouseEvent):void;
		
		function npcMouseUp(e:MouseEvent):void;
		
		function npcMouseClick(e:MouseEvent):void;
		
		function setState(s:uint):void;
		function clearState(s:uint):void;		
		function is_set_state(s:uint):Boolean;
	}
}